package com.ewanghuiju.app.base.contract.resale;

import com.ewanghuiju.app.base.BasePresenter;
import com.ewanghuiju.app.base.BaseView;
import com.ewanghuiju.app.model.bean.response.AddressListResponBean;
import com.ewanghuiju.app.model.bean.response.PintuanGoodsSpecsResponBean;
import com.ewanghuiju.app.model.bean.response.PintuanShopListResponBean;
import com.ewanghuiju.app.model.bean.response.ShareResponBean;

import java.util.List;

/**
 * @author sj  qq:751943509
 * @class 转售商品详情
 * @time 2020/2/18
 */
public interface ResaleShopDetailsContract {

    interface View extends BaseView {

        void showContent(String list);

        void showMoreContent(String list);

        void showGoodsspecsData(List<PintuanGoodsSpecsResponBean> list);

        void showPtigetIdentitySuccess();

        void showPtigetIdentityFail(int code, String msg);

        void showShopInfo(PintuanShopListResponBean pintuanShopListResponBean);

        void showPticonfirmationOrder(AddressListResponBean bean, String specsid);

        void showPtiptGoodsShare(ShareResponBean shareResponBean); //获取分享信息成功

        void pticheckGroupSuccess(); //可以开团

    }

    interface Presenter extends BasePresenter<View> {

        void getData();

        void getShopInfo(String goodsid);//获取商品信息

        void getGoodsspecsData(String goodsid);//获取商品规格

        void ptigetIdentity(String goodsid);//检测团长身份

        void pticonfirmationOrder(String goodsid, String specsid, String group_id);//确认订单

        void getPtiptGoodsShare(String goodsid, String groupid);//获取分享信息

        void pticheckGroup(String groupid);//检测是否检测开团

    }
}